package com.javaweb.config.datasource.mysql;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * mysql数据源配置1
 * @author tank2140896
 */
@ConfigurationProperties(prefix="datasource.mysql.d1")
public record MysqlDateSource1(
	String url,
	String driverClassName,
	String username,
	String password,
	Integer minimumIdle,
	Integer maximumPoolSize,
	Long maxLifetime
){}
/**
@Getter
@Setter
@Component
@ConfigurationProperties(prefix="datasource.mysql.d1")
public class MysqlDateSource1 {
	
	private String url;
	
	private String driverClassName;
	
	private String username;
	
	private String password;
	
	private Integer minimumIdle;
	
	private Integer maximumPoolSize;
	
	private Long maxLifetime;

}
*/